<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>智能家居管理系统 UML 图</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
        }
        h2 {
            color: #666;
            margin-top: 30px;
        }
        .diagram {
            margin: 20px 0;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>智能家居管理系统 UML 图</h1>
        
        <h2>1. 用例图</h2>
        <div class="diagram">
            <img src="http://www.plantuml.com/plantuml/png/~1SoWkIImgAStDuU9oICnBp4lEAK7DJC71KWjAixCJrNCmEQJcfG2L0G00" alt="用例图">
        </div>

        <h2>2. 类图</h2>
        <div class="diagram">
            <img src="http://www.plantuml.com/plantuml/png/~1UDgCaB5Bmq0GXU_pAyxEj5bKgDNYrEGM2PTF4Am63gK0" alt="类图">
        </div>

        <h2>3. 时序图</h2>
        <div class="diagram">
            <img src="http://www.plantuml.com/plantuml/png/~1UDgCaB5Bmq0GXU_pA-xCIAB4eioA4CGM2PTF4AmW3gK0" alt="时序图">
        </div>

        <h2>4. 活动图</h2>
        <div class="diagram">
            <img src="http://www.plantuml.com/plantuml/png/~1UDgCaB5Bmq0GXU_pA-xAIABKW-oA4CGM2PTF4AmW3gK0" alt="活动图">
        </div>
    </div>

    <div style="text-align: center; margin-top: 20px;">
        <p>如果图片无法显示，您可以直接访问以下链接查看UML图：</p>
        <ul style="list-style: none; padding: 0;">
            <li><a href="https://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" target="_blank">在线查看用例图</a></li>
            <li><a href="https://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" target="_blank">在线查看类图</a></li>
            <li><a href="https://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" target="_blank">在线查看时序图</a></li>
            <li><a href="https://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" target="_blank">在线查看活动图</a></li>
        </ul>
    </div>

    <div style="text-align: center; margin-top: 20px;">
        <p>或者您可以使用以下方法查看UML图：</p>
        <ol style="text-align: left; display: inline-block;">
            <li>访问 <a href="https://www.plantuml.com/plantuml/uml/" target="_blank">PlantUML在线编辑器</a></li>
            <li>将对应的.puml文件内容复制到编辑器中</li>
            <li>查看生成的图片</li>
        </ol>
    </div>
</body>
</html> 